<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta http-equiv="Cache-Control"  content="no-transform">
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>商家中心</title>
    <link href="/statics/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
    <link href="/statics/metisMenu/metisMenu.min.css" rel="stylesheet">
    <link href="/statics/font-awesome/css/font-awesome.min.css" rel="stylesheet">
    <link href="/statics/sb/css/sb-admin-2.css" rel="stylesheet">
    <link href="/statics/view/css/all.css" rel="stylesheet">
    <script src="/statics/jquery/jquery.min.js"></script>
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
    <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    <style type="text/css">

    </style>
    <script type="text/javascript">
        $().ready(function() {
            var $browserButton = $("#browserButton");
            $browserButton.browser({basePath:"/product/11/"});
        });
    </script>
</head>
<body>
<div id="wrapper">
    [#include "/bcenter/include/header.ftl" /]

    <!-- Page Content -->
    <div id="page-wrapper" style="min-height: 513px;">
        <div class="row">
            <div class="col-lg-12">
                <h1 class="page-header">店铺信息</h1>
            </div>
        </div>
        <div class="row">
            <div class="col-lg-12">
                <div class="panel panel-default">
                    <div class="panel-heading">
                        店铺信息
                    </div>
                    <div class="panel-body">
                        <ul class="nav nav-tabs">
                            <li class="active"><a href="#home" data-toggle="tab" aria-expanded="false">基本信息</a>
                            </li>
                            <li class=""><a href="#profile" data-toggle="tab" aria-expanded="false">证件信息</a>
                            </li>
                        </ul>
                        <div class="tab-content">
                            <div class="tab-pane fade  active in" id="home">
                                <div class="col-lg-6" style="margin-top: 20px;">
                                    <form action="save" method="post" id="inputForm" class="form-horizontal"   enctype="multipart/form-data" onsubmit="return validateForm(this)">
                                    <div class="form-group">
                                        <label class="control-label col-sm-3">店铺名称</label>
                                        <div class="col-sm-3">
                                            <input type="text" name="shopName" value="${entity.shopName}" class="form-control"  placeholder="系统将自动生成">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="control-label col-sm-3">店铺banner</label>
                                        <div class="col-sm-9">
                                            <div class="input-group">
                                                <input type="text" name="shopBanner"  value="${entity.shopBanner}" class="form-control required"  placeholder="">
                                                <a class="input-group-addon" >上传</a>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="control-label col-sm-3">站点URL</label>
                                        <div class="col-sm-5">
                                            <input type="text" name="url" class="form-control" value="${entity.url}"  placeholder="">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="control-label col-sm-3">店铺描述</label>
                                        <div class="col-sm-5">
                                            <input type="text" name="description" class="form-control" value="${entity.description}"  placeholder="">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="control-label col-sm-3">是否有效</label>
                                        <div class="col-sm-3">
                                            <select class="form-control" name="isMarketable" type="text">
                                                 <option value="1">是</option>
                                                 <option value="0">否</option>
                                            </select>
                                        </div>
                                    </div>
                                     </form>
                                 </div>
                                <div class="col-lg-6">
                                    <img src="" alt="" id="shopBannerImg" style="width: 100%;"/>
                                </div>
                            </div>
                            <div class="tab-pane fade" id="profile" style="padding: 10px;">
                                <div class="col-lg-6" style="margin-top: 20px;">
                                    <form action="save" method="post" id="inputForm" class="form-horizontal"   enctype="multipart/form-data" onsubmit="return validateForm(this)">
                                        <div class="form-group">
                                            <label class="control-label col-sm-3">营业执照(图)</label>
                                            <div class="col-sm-3">
                                                <input type="text" name="bLicense" class="form-control"  value="${entity.bLicense}"  >
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="control-label col-sm-3">营业执照编号</label>
                                            <div class="col-sm-9">
                                                <input type="text" name="bLicenseNo" class="form-control required" value="${entity.bLicenseNo}"  minlength="5" placeholder="600x290" maxlength="30">
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="control-label col-sm-3">开户银行</label>
                                            <div class="col-sm-5">
                                                <input type="text" name="bBankName" class="form-control" value="${entity.bBankName}"  placeholder="">
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="control-label col-sm-3">开户银行卡号</label>
                                            <div class="col-sm-5">
                                                <input type="text" name="bBankCardNo" class="form-control" value="${entity.bBankCardNo}"  placeholder="">
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="control-label col-sm-3">法人名称</label>
                                            <div class="col-sm-5">
                                                <input type="text" name="bName" class="form-control" value="${entity.bName}"    placeholder="">
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="control-label col-sm-3">法人身份证编号</label>
                                            <div class="col-sm-5">
                                                <input type="text" name="bCardNo" class="form-control" value="${entity.bCardNo}"   placeholder="">
                                            </div>
                                        </div>
                                    </form>
                                </div>
                            </div>
                      </div>
                    </div>
                </div>
            </div>
            </div>
        </div>
    </div>
</div>
<script src="/statics/jquery/jquery.validate.js"></script>
<script src="/statics/editor/kindeditor.js"></script>
<script src="/statics/view/js/common.js"></script>
<script src="/statics/bootstrap/js/bootstrap.min.js"></script>
<script src="/statics/metisMenu/metisMenu.min.js"></script>
<script src="/statics/sb/js/sb-admin-2.js"></script>
</body>
</html>